package com.work.app.bean;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import javax.validation.constraints.NotNull;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * ar资源文件
 * @Date 2024-05-15 21:09:05
 * @author hjj
 */
@Data
@TableName("ar_resource")
@ApiModel(value="ArResource对象", description="ar资源文件")
public class ArResource implements Serializable {

    @NotNull(message="[]不能为空")
    @ApiModelProperty("")
    private Integer id;

    @NotNull(message="[藏品hash]不能为空")
    @ApiModelProperty("藏品hash")
    private Integer collectionHash;

    @NotBlank(message="[图片url]不能为空")
    @Size(max= 128,message="编码长度不能超过128")
    @ApiModelProperty("图片url")
    private String imgUrl;

    @Size(max= 255,message="编码长度不能超过255")
    @ApiModelProperty("待补")
    private String remade;

}
